<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>标签显示模式</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            background-color: pink;
        }
        p{
            width: 200px;
            height: 200px;
            background-color: rgb(red, green, blue);
        }
        span{
            width: 200px;
            height: 200px;
            background-color: aqua;
            font-size: 60px;
            display: inline-block;
        }
    </style>
</head>
<body>
    <!-- 块级元素 -->
    <div>我是div标签，块级元素</div>
    <p>我是span标签，块级元素</p>
    <h1></h1>
    <!-- 行级元素 -->
    <span>我是span标签，行级元素 </span>
    <span>我是span标签，行级元素 </span>
    <span>我是span标签，行级元素 </span>
    <span>我是span标签，行级元素 </span>
</body>
</html>